package com.beehoo.dcportal.admin.service;

import java.util.List;

import com.beehoo.dcportal.common.base.BaseException;
import com.beehoo.dcportal.model.OrganizationBean;

public interface OrganizationService {

	/**
	 * 查询中心组织机构
	 * 
	 * @param streetId
	 * @return
	 * @throws BaseException
	 */
	public List<OrganizationBean> queryOrgs(String streetId)
			throws BaseException;

	/**
	 * 查询中心组织机构
	 * 
	 * @param streetId
	 * @param orgId
	 * @return
	 * @throws BaseException
	 */
	public OrganizationBean queryOrg(String streetId, String orgId)
			throws BaseException;

	/**
	 * 添加中心组织机构
	 * 
	 * @param organizationBean
	 * @throws BaseException
	 */
	public void addOrg(OrganizationBean organizationBean)
			throws BaseException;

	/**
	 * 更新中心组织机构
	 * 
	 * @param organizationBean
	 * @throws BaseException
	 */
	public void updateOrg(OrganizationBean organizationBean)
			throws BaseException;

	/**
	 * 删除中心组织机构
	 * 
	 * @param orgId
	 * @throws BaseException
	 */
	public void delOrg(String orgId) throws BaseException;
}
